package router

import (
	"github.com/gin-gonic/gin"
	"one-wiki/handlers/document"
	"one-wiki/handlers/file"
	"one-wiki/handlers/user"
)

// InitRouter 初始化路由规则 绑定uri和handler
func InitRouter(engine *gin.Engine) {
	document.DocumentHandlersInit(engine)
	file.FileHandlersInit(engine)
	user.UserHandlersInit(engine)
}
